package com.ytjj.qmyx.supplychain.mapper;

import com.ytjj.qmyx.supplychain.common.model.bill.request.BillOrderRequest;
import com.ytjj.qmyx.supplychain.common.model.bill.response.StatementListResp;
import com.ytjj.qmyx.supplychain.common.model.request.BankerApplyRequest;
import com.ytjj.qmyx.supplychain.common.model.response.BankerApplyResponse;
import com.ytjj.qmyx.supplychain.mapper.entity.BillOrder;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface BillOrderMapper extends Mapper<BillOrder> {

    void insertBatch(@Param("list") List<BillOrder> billOrders);

    List<BillOrder> selectBillOrder(BillOrder billOrder);

    List<StatementListResp> selectList(BillOrderRequest request);

    List<BillOrder> selectBillOrderByPage(BillOrderRequest request);

    Integer selectBillOrderCountByPage(BillOrderRequest request);
}
